#include "mypipe.hpp"
using namespace std;
#include <unistd.h>

int main()
{
    Pipe<char> pi;
    char* shmaddr = pi.grtshmaddr();

    while(shmaddr)
    {
        cout << shmaddr<< endl;
        sleep(1);
    }
   
    return 0;
}